package com.xwdeshj.repository;

import com.xwdeshj.entity.XwFarmCollectinfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by BKWJA on 2019/1/6.
 * 农家乐——农家收藏信息
 */
public interface XwFarmCollectinfoRepository extends JpaRepository<XwFarmCollectinfo,Integer> {

    //根据农家乐加密id，删除对应的相关记录
    public void deleteByFarmEncryptid(String farm_encryptId);

    //根据收藏id，删除对应的相关记录
    public void deleteByFarmCollectId(Integer farm_collect_id);

}
